package com.gupt.youhd.service;/*
@author name
@data 2023/4/22-14:02
*/


import com.gupt.youhd.entity.School;
import com.gupt.youhd.entity.User;
import com.gupt.youhd.qo.RegisterQo;

import java.util.Map;

public interface RegisterService {


    //验证码生成
    Map<String,String> getCaptcha(String userName);

    //用户注册
    String register(RegisterQo qo);

    //查询用户输入校名是否存在
    School retrieveSchoolBySchoolName(String schoolName);

    //校验注册用户名是否存在
    User retrieveUserByUsername(String username);

    //将用户信息添加到对应表
    int saveUserMsg(User user,String schoolName);
}
